<template>
    <div class="page">
        <div class="btn-group">
            <div class="btn-item btn-item-1" @click="onWeb">Web端体验</div>
            <div class="btn-item btn-item-2" @click="onVr">VR/AR端体验</div>
        </div>
    </div>
</template>
<script setup>
import { useContent } from ".";
const { onWeb, onVr } = useContent();
</script>
<style lang="scss" scoped>
.page {
    position: relative;
    width: 100%;
    height: 603px;
    background-image: url("https://yzpt-resources.oss-cn-hangzhou.aliyuncs.com/web/images/mobile/future-experience-center/bg.jpg");
    background-size: 100% 100%;

    .btn-group {
        display: flex;
        position: absolute;
        left: 50%;
        bottom: 34px;
        transform: translateX(-50%);

        .btn-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 133px;
            height: 40px;
            font-size: 18px;
            color: #fff;
            border-radius: 5px;

            &-1 {
                background: linear-gradient(90deg, #d95fbd, #4b51f1);
                margin-right: 24px;
            }

            &-2 {
                background-color: #6795ff;
            }
        }
    }
}
</style>
